// initial state
const state = {
    isMenuShow:true,
    showPersonalData:false
};

// getters
const getters = {
    /*lanData:state => {
     return state.allLan;
     },
     currentLan:state => {
     return state.currentLan;
     }*/
    isMenuShowGetter:state => {
        return state.isMenuShow;
    },
    isPersonalDataShowGetter:state => {
        return state.showPersonalData;
    },
};


// actions
const actions = {
    /*getLanChoice:(context,data) => {
     context.commit("getLanChoice",data);
     }*/
};

// mutations
const mutations = {
    changeMenuShow:(state,isMenuShow) => {
        state.isMenuShow = isMenuShow;
    },
    changePersonalDataShow:(state,isPersonalDataShow) => {
        state.showPersonalData = isPersonalDataShow;
    }
};

export default {
    state,
    getters,
    actions,
    mutations
}

